<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>普通文件预览</title>
</head>
<link rel="icon" type="image/x-icon" href="search.ico">
<body>
<!--<script language="javascript" type="text/javascript">
    window.location.href="[[${fileUrl}]]";
</script>-->

<iframe th:src ="${fileUrl}"  width="100%" frameborder="0"></iframe>
</body>
<script type="text/javascript">
    document.getElementsByTagName('iframe')[0].height = document.documentElement.clientHeight-10;
    window.onresize = function(){
        var fm = document.getElementsByTagName("iframe")[0];
        fm.height = window.document.documentElement.clientHeight-10;
    }
</script>
</html>
